package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 科目管理对象 sys_subject
 * 
 * @author ruoyi
 * @date 2025-05-05
 */
public class SysSubject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 科目主键 */
    private Integer subjectId;

    /** 科目名称 */
    @Excel(name = "科目名称")
    private String subjectName;

    /** 科目编码 */
    @Excel(name = "科目编码")
    private String subjectCode;

    /** 科目内容 */
    @Excel(name = "科目内容")
    private String subjectValue;

    /** 系统内置（Y是 N否） */
    @Excel(name = "系统内置", readConverterExp = "Y=是,N=否")
    private String subjectType;

    /** 科目状态（0正常 1停用） */
    @Excel(name = "科目状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setSubjectId(Integer subjectId) 
    {
        this.subjectId = subjectId;
    }

    public Integer getSubjectId() 
    {
        return subjectId;
    }

    public void setSubjectName(String subjectName) 
    {
        this.subjectName = subjectName;
    }

    public String getSubjectName() 
    {
        return subjectName;
    }

    public void setSubjectCode(String subjectCode) 
    {
        this.subjectCode = subjectCode;
    }

    public String getSubjectCode() 
    {
        return subjectCode;
    }

    public void setSubjectValue(String subjectValue) 
    {
        this.subjectValue = subjectValue;
    }

    public String getSubjectValue() 
    {
        return subjectValue;
    }

    public void setSubjectType(String subjectType) 
    {
        this.subjectType = subjectType;
    }

    public String getSubjectType() 
    {
        return subjectType;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("subjectId", getSubjectId())
            .append("subjectName", getSubjectName())
            .append("subjectCode", getSubjectCode())
            .append("subjectValue", getSubjectValue())
            .append("subjectType", getSubjectType())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
